package com.qunar.qcf.handler.transport;

import java.io.Serializable;

public final class Transport implements Serializable {
	private static final long serialVersionUID = -31253273772064669L;
	private String clazz;
	private String method;
	private Object message;
	private String key;

	public Transport(String name, String method, Object message, String key) {
		this.clazz = name;
		this.method = method;
		this.message = message;
		this.key = key;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Object getMessage() {
		return message;
	}

	public void setMessage(Object message) {
		this.message = message;
	}

}
